/*
 *  Copyright (c) 2009, Hugo Augusto Alves
 *  All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *      * Redistributions of source code must retain the above copyright
 *        notice, this list of conditions and the following disclaimer.
 *      * Redistributions in binary form must reproduce the above copyright
 *        notice, this list of conditions and the following disclaimer in the
 *        documentation and/or other materials provided with the distribution.
 *      * Neither the appName of the Hugo Augusto Alves nor the
 *        names of its contributors may be used to endorse or promote products
 *        derived from this software without specific prior written permission.
 *
 *  THIS SOFTWARE IS PROVIDED BY COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
 *  EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 *  WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
 *  DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY
 *  DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
 *  (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
 *  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
 *  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
 *  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */

package org.wiscriptor.core;

/**
 * This classs contains the definition of the editor, like appVersion,
 * english labels, etc
 *
 * @author Hugo
 */
public class WisProperties {

    //- EDITOR ------------------------------------------
    public static final String appName = "Wiscriptor";
    // major.minor.build (build - rev in current major.minor)
    public static final String appVersion = "0.1.36";
    public static final String description = "";
    public static final String langDirectory = "languages";
    public static final String configDirectory = "config";
    public static final String configFile = "config.ini";

    public static final String wikisDir = "wikis";
    public static final String historyDir = "history";
    public static final String imagesDir = "images";
    public static final String pagesDir = "pages";
    public static final String wikidbExt = ".db";
    public static final String pageExt = ".lml";

    //- LOREM IPSUM ------------------------------------------
    public static final String[] lorem = new String[] {
      "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
      " Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.",
      " Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.",
      " Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
    };

    public static final String[] loremLowerCaseWords = new String[] {
      "at", "vero", "eos", "et", "accusamus", "et", "iusto", "odio", "dignissimos", "ducimus", "qui", "blanditiis", "praesentium", "voluptatum",
      "deleniti", "atque", "corrupti", "quos", "dolores", "et", "quas", "molestias", "excepturi", "sint", "occaecati", "cupiditate", "non",
      "provident,", "similique", "sunt", "in", "culpa", "qui", "officia", "deserunt", "mollitia", "animi,", "id", "est", "laborum", "et",
      "dolorum", "fuga", "et", "harum", "quidem", "rerum", "facilis", "est", "et", "expedita", "distinctio", "nam", "libero", "tempore,", "cum",
      "soluta", "nobis", "est", "eligendi", "optio", "cumque", "nihil", "impedit", "quo", "minus", "id", "quod", "maxime", "placeat", "facere",
      "possimus,", "omnis", "voluptas", "assumenda", "est,", "omnis", "dolor", "repellendus", "temporibus", "autem", "quibusdam", "et", "aut",
      "officiis", "debitis", "aut", "rerum", "necessitatibus", "saepe", "eveniet", "ut", "et", "voluptates", "repudiandae", "sint", "et", "molestiae",
      "non", "recusandae", "itaque", "earum", "rerum", "hic", "tenetur", "a", "sapiente", "delectus,", "ut", "aut", "reiciendis", "voluptatibus",
      "maiores", "alias", "consequatur", "aut", "perferendis", "doloribus", "asperiores", "repellat"
    };

    public static final String[] loremUpperCaseWords = new String[] {
      "Donec", "Quisque", "Donec", "Suspendisse", "Cras", "Vestibulum", "Curabitur", "Sed", "Vivamus", "Aenean", "Nullam", "Mauris", "Morbi", "Nam",
      "Integer", "Pellentesque", "Duis", "Fusce", "At", "Et", "Est", "In", "Cras", "Nunc"
    };

    public static StringBuffer getLoremText(int number){
      StringBuffer buffer = new StringBuffer();
      for(int i = 0; i < number; i++){
        if(i > lorem.length) break;
        buffer.append(lorem[i]);
      }
      return buffer;
    }
    //- \LOREM IPSUM ------------------------------------------

}
